<?php
class OpinionViewModel extends ViewModel {
    public $viewFields = array(
        'useropinion'    => array('id', 'user_id', 'content', 'time', 'status', '_type' => 'left'),
        'user'          => array('nick', '_on' => 'user.user_id = useropinion.user_id')
    );

}
?>
